package com.yq.design.factory.factory;

/**
 * @ClassName XiaomiFactory
 * @Description xiaomi工厂，实现工厂的方法
 * @Author yaoqiang
 * @Date 2021/3/9 13:11
 * @Version 1.0
 */
public class XiaomiFactory implements Factory {
    @Override
    public Phone makePhone() {
        return new XiaomiPhone();
    }
}
